﻿<UserControl x:Class="WpfImageDuplicates.CompareImagesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid Height="600" Width="800">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />            
        </Grid.RowDefinitions>
        <Image Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Source="{Binding Mode=OneWay, Path=BitmapImage}" Name="imgMain1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Stretch="Uniform"/>
        <Image Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Source="{Binding Mode=OneWay, Path=BitmapImage}" Name="imgMain2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Stretch="Uniform"/>
        <Button Content="Duplicate" Name="btnDuplicate" Grid.Column="3" Click="btnDuplicate_Click"/>
        <Button Content="All Duplicates" Name="btnAllDuplicates" Grid.Column="0" Click="btnAllDuplicates_Click"/>
        <Button Content="Not Duplicate" Name="btnNotDuplicate" Grid.ColumnSpan="2" Grid.Column="1" Click="btnNotDuplicate_Click"/>
    </Grid>
</UserControl>
